/**
 * 
 */
package com.lvan.bean;

import com.lvan.constant.NotNull;
import com.lvan.constant.Size;


/**
 * @author Stern He<br>
 * 2013-9-17<br>
 * @version 1.0.0.0 
 */
public class Goods extends AdvanceEntity{
	private static final long serialVersionUID = 4218701667587724671L;
	private int goodsId;
    @NotNull(message="商品名称不能为空")
    @Size(Max=50,message="商品名称太长")
    private String goodsName;
    @Size(Max=200,message="拼音太长")
    private String goodsPy;
    private Integer goodsProduct;
    private Integer goodsType;
    private String goodsTypeName;
    @Size(Max=20,message="助记码太长")
    private String assCode;
    @Size(Max=50,message="商品条码太长")
    private String barCode;
    @Size(Max=50,message="规格太长")
    private String goodsSpec;
    private Double goodsPrice;
    @Size(Max=100,message="图片地址太长")
    private String goodsImg;
    @Size(Max=20,message="单位太长")
    private String goodsUnit;
    private Double goodsCurrentCost;
    private Integer goodsStatus;
    private Double goodsPrice1;
    private Double goodsPrice1Condition;
    private Double goodsPrice2;
    private Double goodsPrice2Condition;
    
    public int getRecid()
	{
		return goodsId;
	}
	public void setRecid(int recid)
	{
		this.goodsId = recid;
	}
    public int getGoodsId() {
        return goodsId;
    }
    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }
    public String getGoodsName() {
        return goodsName;
    }
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
    public String getGoodsPy() {
        return goodsPy;
    }
    public void setGoodsPy(String goodsPy) {
        this.goodsPy = goodsPy;
    }
    public Integer getGoodsProduct() {
        return goodsProduct;
    }
    public void setGoodsProduct(Integer goodsProduct) {
        this.goodsProduct = goodsProduct;
    }
    public Integer getGoodsType() {
        return goodsType;
    }
    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }
    public String getAssCode() {
        return assCode;
    }
    public void setAssCode(String assCode) {
        this.assCode = assCode;
    }
    public String getBarCode() {
        return barCode;
    }
    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }
    public String getGoodsSpec() {
        return goodsSpec;
    }
    public void setGoodsSpec(String goodsSpec) {
        this.goodsSpec = goodsSpec;
    }
    public Double getGoodsPrice() {
        return goodsPrice;
    }
    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }
    public String getGoodsImg() {
        return goodsImg;
    }
    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }
    public String getGoodsUnit() {
        return goodsUnit;
    }
    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }
    public Double getGoodsCurrentCost() {
        return goodsCurrentCost;
    }
    public void setGoodsCurrentCost(Double goodsCurrentCost) {
        this.goodsCurrentCost = goodsCurrentCost;
    }
    public Integer getGoodsStatus() {
        return goodsStatus;
    }
    public void setGoodsStatus(Integer goodsStatus) {
        this.goodsStatus = goodsStatus;
    }
	public Double getGoodsPrice1() {
		return goodsPrice1;
	}
	public void setGoodsPrice1(Double goodsPrice1) {
		this.goodsPrice1 = goodsPrice1;
	}
	public Double getGoodsPrice1Condition() {
		return goodsPrice1Condition;
	}
	public void setGoodsPrice1Condition(Double goodsPrice1Condition) {
		this.goodsPrice1Condition = goodsPrice1Condition;
	}
	public Double getGoodsPrice2() {
		return goodsPrice2;
	}
	public void setGoodsPrice2(Double goodsPrice2) {
		this.goodsPrice2 = goodsPrice2;
	}
	public Double getGoodsPrice2Condition() {
		return goodsPrice2Condition;
	}
	public void setGoodsPrice2Condition(Double goodsPrice2Condition) {
		this.goodsPrice2Condition = goodsPrice2Condition;
	}
	public String getGoodsTypeName() {
		return goodsTypeName;
	}
	public void setGoodsTypeName(String goodsTypeName) {
		this.goodsTypeName = goodsTypeName;
	}
    
}
